package cn.jiangjiesheng.bootstrap.database.properties;

import lombok.Data;

/**
 * Created by dev@jiangjiesheng.cn on 2021/11/12  <br/>
 *
 * @author dev@jiangjiesheng.cn
 */
@Data
public class DataSourceDefinition {

    private String url;

    private String username;

    private String password;

    private String driverClassName;

    private String initialSize = "1";

    private String minIdle = "1";

    private String maxActive = "10";

    private String maxWait = "600000";

    private String timeBetweenEvictionRunsMillis = "60000";

    private String minEvictableIdleTimeMillis = "3000000";

    private String validationQuery = "select 1";

    private String testWhileIdle = "true";

    private String testOnBorrow = "false";

    private String testOnReturn = "false";
    private String poolPreparedStatements = "true";

    private String maxPoolPreparedStatementPerConnectionSize;

    private String filters;

    private String connectionProperties;

}
